package com.wxmit.starter.file.annotation;

import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.wxmit.starter.file.serialize.FileRealmDeserializer;
import com.wxmit.starter.file.serialize.FileRealmSerialize;


import java.lang.annotation.*;

/**
 *  文件域名拼接
 *  用于序列化 反序列化 url资源的注解
 * @author huangxiong
 * @updateTime 20210621
 * @update
 */
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Target(ElementType.FIELD)
@JacksonAnnotationsInside
@JsonSerialize(using = FileRealmSerialize.class)
@JsonDeserialize(using = FileRealmDeserializer.class)
public @interface FileRealm {
}
